
    <!DOCTYPE html>
    <html lang="en">
    <head>
        <meta charset="UTF-8">
        <title>Title</title>
    </head>
    <body>
    
<div class="archive_info">
<h1>JavaScript <span class="color_h1">运算符</span>
</h1>
<hr/>
<p><strong>运算符 = 用于赋值。</strong></p>
<p><strong>运算符 + 用于加值。</strong></p>
<hr/>
<p>运算符 = 用于给 JavaScript 变量赋值。</p>
<p>算术运算符 <span class="marked">+</span> 用于把值加起来。</p>
<div class="example">
<h2 class="example">实例</h2>
<p class="example">指定变量值，并将值相加：</p>
<div class="example_code">
<div class="hl-main"><span class="hl-identifier">y</span><span class="hl-code">=</span><span class="hl-number">5</span><span class="hl-code">;
</span><span class="hl-identifier">z</span><span class="hl-code">=</span><span class="hl-number">2</span><span class="hl-code">;
</span><span class="hl-identifier">x</span><span class="hl-code">=</span><span class="hl-identifier">y</span><span class="hl-code">+</span><span class="hl-identifier">z</span><span class="hl-code">;</span></div>
</div>
<p>在以上语句执行后，<em>x</em> 的值是：</p>
<div class="example_code">
7
</div>
<br/><a class="tryitbtn"  rel="noopener" target="_blank">尝试一下 »</a>
</div>
<br/><hr/>
<h2>JavaScript 算术运算符</h2>
<p算术运算符用于执行变量<strong>与/或</p算术运算符用于执行变量<strong></div>

    </body>
    </html>
    